<?php
/**
 * Created by PhpStorm.
 * User: Lxx<779219930@qq.com>
 * Date: 2016/10/14
 * Time: 14:50
 */

namespace app\admin\model;


use think\Model;

class Comment extends Model {

    public function user() {
        return $this->hasOne('WechatUser','openid','create_user');
    }
}